﻿using System;
using System.Collections.Generic;
using System.Net;

namespace FBGraph
{
    /// <summary>
    /// An exception that is thrown when a connection is queried on an object that doesn't support it.
    /// </summary>
    public class FBGraphConnectionNotSupportedException : FBGraphApiException
    {
        /// <summary>Initializes an instance of <see cref="FBGraphConnectionNotSupportedException" />.</summary>
        /// <param name="ex">The <see cref="WebException" /> that triggered this exception.</param>
        public FBGraphConnectionNotSupportedException(WebException ex) : base(ex) { }
    }
}